package org.example.ychdp.dao;

import org.apache.ibatis.annotations.Mapper;
import org.example.ychdp.entity.Comment;
import org.example.ychdp.entity.CommentExample;
import org.example.ychdp.entity.Order;
import org.example.ychdp.entity.OrderExample;

import java.util.List;

@Mapper
public interface CommentDao {

    List<Comment> selectAllComment();

    int deleteByPrimaryKey(Integer commentid);

    int insert(Comment record);

    int insertSelective(Comment record);

    Comment selectByPrimaryKey(Integer commentid);

    int updateByPrimaryKeySelective(Comment record);

    int updateByPrimaryKeyWithBLOBs(Comment record);

    int updateByPrimaryKey(Comment record);

    List<Comment> selectByExample(CommentExample example);

    List<Comment> selectByConcertId(Integer id);
}